Skip to content

System: Camera System Creation#576

Merged
ao-david merged 2 commits intomainfrom
195-camera-autoconfig
Jun 17, 2025
Merged

System: Camera System Creation#576
ao-david merged 2 commits intomainfrom
195-camera-autoconfig

Conversation

@ao-david
Copy link
Member

This change helps to support camera autoconfig by creating a NewCamera with the required variables and settings.

@ao-david ao-david self-assigned this May 27, 2025

// CameraSystem contains a camera device and the associated variables.
type CameraSystem struct {
Cam *model.Device
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these need to be exported ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so, because the caller will be returned a camera system which they will then be able to store (in a coming change) or for some reason may want to do some in between logic which would require these to be exported. They may want to for example get the mac address.

They don't necessarily need to be exported at the moment, but I don't see an issue with exporting them anyway?

@ao-david ao-david force-pushed the 195-camera-var-defaults branch from b45b70c to f676417 Compare June 10, 2025 00:32
@ao-david ao-david force-pushed the 195-camera-autoconfig branch from e117af1 to c6d5bd5 Compare June 10, 2025 00:41
@ao-david ao-david changed the base branch from 195-camera-var-defaults to main June 17, 2025 05:40
ao-david added 2 commits June 17, 2025 15:13
This change adds a NewCamera function which creates the required camera
and variables for a default camera setup.
This change adds tests for the NewCamera function
@ao-david ao-david force-pushed the 195-camera-autoconfig branch from c6d5bd5 to 8c88fe1 Compare June 17, 2025 05:44
@ao-david ao-david merged commit 5e1eff0 into main Jun 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants